PHP How to clear the HTML format and remove the space in the text and then intercept the text, a detailed share of the processing method (by the way PHP clears the HTML string function to do a summary):Htmlspecialchars Turning special characters
Instance
Remove the characters to the left of the string:
"; Echo LTrim ($str, "Hello"); >
Definition and usage
The LTrim () function removes white space characters or other predefined characters to the left of the string.
Related functions:
RTrim ()
Previous wordsHTTP messages can host content in any language, as if it could host images, movies, or any type of MEDIA. For http, The entity body is just a container for binary Information. In order to support international content, the server needs
Previous wordsHTTP messages can host content in any language, as if it could host images, movies, or any type of media. For HTTP, the entity body is just a container for binary information. In order to support international content, the server needs
This article brings you to the content of the CSS with what to do with the space processing (example), there is a certain reference value, the need for a friend can refer to, I hope you have some help.
First, the space rules
HTML code spaces are
One, use full-width spaceFull-width spaces are interpreted as Chinese characters, so they are not interpreted as HTML separators and can be displayed according to the actual number of spaces.Second, the use of space substitution symbolThe
One, use full-width spaceFull-width spaces are interpreted as Chinese characters, so they are not interpreted as HTML separators and can be displayed according to the actual number of spaces.Second, the use of space substitution symbolThe
One, use full-width spaceFull-width spaces are interpreted as Chinese characters, so they are not interpreted as HTML separators and can be displayed according to the actual number of spaces.Second, the use of space substitution symbolThe
One, use full-width spaceFull-width spaces are interpreted as Chinese characters, so they are not interpreted as HTML separators and can be displayed according to the actual number of spaces.Second, the use of space substitution symbolThe
One, use full-width spaceFull-width spaces are interpreted as Chinese characters, so they are not interpreted as HTML separators and can be displayed according to the actual number of spaces.Second, the use of space substitution symbolSubstitution
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.